import { useState } from "react";
import { BrowserRouter, useRoutes } from "react-router-dom";
import { routes } from "./router";
import "./App.css";

function App() {
  const Ele = () => useRoutes(routes);
  return (
    <BrowserRouter>
      <Ele />
    </BrowserRouter>
  );
}

export default App;
